<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Mosaddek">
    <meta name="keyword" content="FlatLab, Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">
    <link rel="shortcut icon" href="img/favicon.html">
	<link href="css/local.css" rel="stylesheet"/>
    <title>损耗/采购申请</title>

    <!-- Bootstrap core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/bootstrap-reset.css" rel="stylesheet">
    <!--external css-->
    <link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <!-- Custom styles for this template -->
    <link href="css/style.css" rel="stylesheet">
    <link href="css/style-responsive.css" rel="stylesheet" />

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 tooltipss and media queries -->
    <!--[if lt IE 9]>
      <script src="js/html5shiv.js"></script>
      <script src="js/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

  <section id="container" class="">
      <!--header start-->
      <div id="header">

      </div>
      <!--main content start-->
      <section id="main-content">
          <section class="wrapper">
              <!-- page start-->
              
             
                  <div class="col-lg-12">
                      <section class="panel">
                          <header class="panel-heading">
                              报修汇总
							  <!-- <span class="text-center invoice-btn">
							      <a id="jf" class="btn btn-danger btn-lg"><i class="icon-check"></i> 增加 </a>
							     
							  </span> -->
                          </header>
                          <table class="table table-striped table-advance table-hover">
                              <thead>
                              <tr>
                                  <th><i class="icon-bullhorn"></i> 事件</th>
                                  <th class="hidden-phone"><i class="icon-question-sign"></i> 发起人</th>
                                  <th><i class="icon-bookmark"></i> 位置</th>
                                  <th><i class=" icon-edit"></i> 提交时间</th>
                                  <th><i class=" icon-edit"></i> 状态</th>
								  <th><i class=" icon-edit"></i> 操作</th>
								  <td>处理人 </td>
                                  <th></th>
                              </tr>
                              </thead>
                              <tbody>
                              <tr v-for="maintain in maintainList.list">
                                  <td><a :href="'repairs-particulars.html?id='+maintain.id">{{maintain.describe}}</a></td>
                                  <td class="hidden-phone">{{maintain.employeesAccount.userName}}/{{maintain.jobNumberId}}/{{maintain.phone}}</td>
                                  <td>{{maintain.detailedAddress}} </td>
                                  <td><span class="label label-info label-mini">{{maintain.sponsorTime}}</span></td>
								   <td><span class="label label-warning label-mini shenghe" v-if="maintain.status==1">待审核</span><span class="label label-danger label-mini ulpizun" v-if="maintain.status==4">不批准</span><span class="label label-success upizun" v-if="maintain.status==3">处理完成</span><span class="label label-success upizun" v-if="maintain.status==2">处理中</span></td>
                                 
								  <td>
									  
                                      <button  class="btn btn-success btn-xs " v-show="maintain.status==1"><i class="icon-ok" @click="paiqian(maintain.id,2)">派遣电工</i></button>
                                      <button   class="btn btn-danger btn-xs " v-show="maintain.status==1" ><i class="icon-trash" @click="paiqian(maintain.id,4)">删除</i></button>
									  <button  class="btn btn-danger btn-xs "  v-show="maintain.status==2"><i class="icon-pencil">老王正在处理</i></button>
									  <button  class="btn btn-success btn-xs " v-show="maintain.status==3" onclick="location.href='xiuweiwanbi.html'"><i class="icon-ok">查看处理详情</i></button>
                                  </td>
										<td><span class="">{{maintain.userName}}/{{maintain.operatorId}}</span> </td>
								  <td>
									  
									  
								  </td>
                              </tr>
                              
                              </tbody>
                          </table>
						  
                      </section>
					  <div class="pages">
					      <a href="javascript:;" @click="getList(1)" class="p_pre" id='homePage'>首页</a>
					      <a href="javascript:;" @click="getList(no)" v-for="no in maintainList.navigatepageNums" class="number">{{no}}</a>
					      <!-- <a href="javascript:;" class="cur number">2</a>
					      <a href="javascript:;" class="number">3</a> -->
					      <a href="javascript:;" @click="getList(maintainList.pages)" class="p_pre" id='lastPage'>末页</a>
					  </div>
                  </div>
              </div>
              <!-- page end-->
          </section>
      </section>
      <!--main content end-->
  </section>

    <!-- js placed at the end of the document so the pages load faster -->
    <script src="js/jquery.js"></script>
    <script src="js/bootstrap.min.js"></script> 
    <script src="js/jquery.scrollTo.min.js"></script>
	<script src="localjs/repairs-list.js"></script>
    <script src="js/jquery.nicescroll.js" type="text/javascript"></script>
	<script type="text/javascript" src="assets/data-tables/DT_bootstrap.js"></script>
	<script src="yongknagJS/vue.js"></script>
	<script src="yongknagJS/axios.js"></script>
	<script src="yongknagJS/repairs-list_1.js"></script>
	
    <!--common script for all pages-->
    <script src="js/common-scripts.js"></script>
	
	
	
	<!--common script for all pages-->
	<script src="localjs/storeman-warehouse.js"></script>

  </body>
</html>
